vcStatement
vcStatement is the base class of which all actual statements inherit from.
See in: Overview
Module: vcExecutor2
Parent: vcObject
Children: vcBreakStatement, vcCallProgramStatement, vcCallRoutineStatement, vcCommentStatement, vcContinueStatement, vcDelayStatement, ... (see more)
vcBreakStatement
vcCallProgramStatement
vcCallRoutineStatement
vcCommentStatement
vcContinueStatement
vcDelayStatement
vcGroupStatement
vcHaltStatement
vcIfStatement
vcMotionStatement
vcMotionSyncStatement
vcProgramSyncCancelStatement
vcProgramSyncStatement
vcReturnStatement
vcSetBaseStatement
vcSetDigitalOutputStatement
vcSetPropertyStatement
vcSetStatisticsStateStatement
vcSetToolStatement
vcSwitchCaseStatement
vcWaitAsyncStatement
vcWaitDigitalInputStatement
vcWhileStatement
Referenced by: vcScope.Statements, vcScope.copyStatement(), vcScope.createStatement(), vcWaitAsyncStatement.Statement
Properties
Learn how to use properties here. The properties are also inherited from the parent class.
| Name | Type | Access | Description |
| IsEnabled | Boolean | RW | Defines if the statement is activated or deactivated. |
| ParentScope | vcScope | R | Gets the scope of the statement. |
| Properties | vcPropertyContainer | R | Gets a list of properties of the statement. |
| Routine | vcRoutine | R | Gets the routine of the statement. |
| ScopeContainer | object | R | Gets the associated scope container if any. Can be vcSingleScopeContainrer, vcMultiScopeContainer or None. |
Methods
Learn how to use methods here. The methods are also inherited from the parent class.
| Name | Return Type | Parameters | Description |
| delete | None | None | Deletes a given statement in the scope. |
Events
Learn how to use events here. The events are also inherited from the parent class.
| Name | Parameters | Description |
| OnStateChanged | vcStatement statement | Triggered when the status of the statement changes. This includes but is not limited to Status changes. Parameters: statement (vcStatement): Sender. |